package com.cpi.basilos.user.converter;

import com.cpi.user.view.UserView;
import com.cpi.basilos.user.dto.UserDTO;

public class UserConverter {

	/**
	 * Convert an UserView to UserDTO object
	 * @param userView
	 * @return
	 */
	public UserDTO convertUserViewToDto(UserView userView){
		UserDTO userDTO = null;
		userDTO = new UserDTO();
		userDTO.setUsrId(userView.getUsrId());
		userDTO.setPassword(userView.getPassword());
		return userDTO;
	}
}
